package com.hl.toolkit.server.tycoin.account.slaveentity;
// Generated 2017-5-20 22:33:23 by Hibernate Tools 4.0.0.Final

import com.tycoin.common.entity.AbstractEntity;
import com.tycoin.user.slaveentity.TycoinUser;

import javax.persistence.*;
import java.math.BigDecimal;

@Entity
@Table(name="tycoin_account_cash")
 public class TycoinAccountCash extends AbstractEntity implements java.io.Serializable {
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4204127503101690360L;
  	
	@Column(name = "user_id")
	private Integer userId;
	
	

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "user_id", insertable = false, updatable = false)
	private TycoinUser TycoinUser;// 
	
	
	@Column(name = "type")
	private String type;
	
	@Column(name = "logno")
	private String logno;
	
	@Column(name = "status")
	private int status;
	
	@Column(name = "account")
	private String account;
	
	@Column(name = "bank")
	private String bank;
	
	@Column(name = "bank_id")
	private int bankId;
	
	@Column(name = "branch")
	private String branch;
	
	@Column(name = "money")
	private BigDecimal money;
	
	@Column(name = "real_money")
	private BigDecimal realMoney;
	
	@Column(name = "fee")
	private BigDecimal fee;
	
	@Column(name = "isdaifu", columnDefinition="INT default 0")
	private String isdaifu;
	
	@Column(name = "t_num",columnDefinition="INT default 0")
	private Integer TNum;
	
	@Column(name = "t_time",columnDefinition="INT default 0")
	private int TTime;
	
	@Column(name = "t_status",columnDefinition="INT default 0")
	private int TStatus;
	
	@Column(name = "t_sendtime", columnDefinition="INT default 0")
	private int TSendtime;
	
 	@Column(name = "cash_phone")
	private String cashPhone;
 	
 	@Column(name = "cash_where")
	private int cashWhere;
 	
 	@Column(name = "verify_userid")
	private Integer verifyUserid;
 	
 	@Column(name = "verify_time")
	private Integer verifyTime;
 	
 	@Column(name = "verify_remark")
	private String verifyRemark;
 	
 	@Column(name = "addtime")
	private Long addtime;
 	
 	@Column(name = "addip")
	private String addip;
 	
 	@Column(name = "daifu_msg")
	private String daifuMsg;
 	
 	@Column(name = "api_fee")
	private BigDecimal apiFee;
	
	
	
 
	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getLogno() {
		return logno;
	}

	public void setLogno(String logno) {
		this.logno = logno;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getBank() {
		return bank;
	}

	public void setBank(String bank) {
		this.bank = bank;
	}

	public int getBankId() {
		return bankId;
	}

	public void setBankId(int bankId) {
		this.bankId = bankId;
	}

	public String getBranch() {
		return branch;
	}

	public void setBranch(String branch) {
		this.branch = branch;
	}

	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public BigDecimal getRealMoney() {
		return realMoney;
	}

	public void setRealMoney(BigDecimal realMoney) {
		this.realMoney = realMoney;
	}

	public BigDecimal getFee() {
		return fee;
	}

	public void setFee(BigDecimal fee) {
		this.fee = fee;
	}

	public String getIsdaifu() {
		return isdaifu;
	}

	public void setIsdaifu(String isdaifu) {
		this.isdaifu = isdaifu;
	}

	public Integer getTNum() {
		return TNum;
	}

	public void setTNum(Integer tNum) {
		TNum = tNum;
	}

	public int getTTime() {
		return TTime;
	}

	public void setTTime(int tTime) {
		TTime = tTime;
	}

	public int getTStatus() {
		return TStatus;
	}

	public void setTStatus(int tStatus) {
		TStatus = tStatus;
	}

	public int getTSendtime() {
		return TSendtime;
	}

	public void setTSendtime(int tSendtime) {
		TSendtime = tSendtime;
	}

	public String getCashPhone() {
		return cashPhone;
	}

	public void setCashPhone(String cashPhone) {
		this.cashPhone = cashPhone;
	}

	public int getCashWhere() {
		return cashWhere;
	}

	public void setCashWhere(int cashWhere) {
		this.cashWhere = cashWhere;
	}

	public Integer getVerifyUserid() {
		return verifyUserid;
	}

	public void setVerifyUserid(Integer verifyUserid) {
		this.verifyUserid = verifyUserid;
	}

	public Integer getVerifyTime() {
		return verifyTime;
	}

	public void setVerifyTime(Integer verifyTime) {
		this.verifyTime = verifyTime;
	}

	public String getVerifyRemark() {
		return verifyRemark;
	}

	public void setVerifyRemark(String verifyRemark) {
		this.verifyRemark = verifyRemark;
	}

	public Long getAddtime() {
		return addtime;
	}

	public void setAddtime(Long addtime) {
		this.addtime = addtime;
	}

	public String getAddip() {
		return addip;
	}

	public void setAddip(String addip) {
		this.addip = addip;
	}

	public String getDaifuMsg() {
		return daifuMsg;
	}

	public void setDaifuMsg(String daifuMsg) {
		this.daifuMsg = daifuMsg;
	}

	public BigDecimal getApiFee() {
		return apiFee;
	}

	public void setApiFee(BigDecimal apiFee) {
		this.apiFee = apiFee;
	}

	
	 
	
	public TycoinUser getTycoinUser() {
		return TycoinUser;
	}

	public void setTycoinUser(TycoinUser TycoinUser) {
		this.TycoinUser = TycoinUser;
	}


	public TycoinAccountCash() {
	}

	public TycoinAccountCash(String logno, int bankId, String province, String city, String isdaifu, Integer TNum, int TTime,
			byte TStatus, int TSendtime, String cashPhone, int cashWhere) {
		this.logno = logno;
		this.bankId = bankId;
		
		this.isdaifu = isdaifu;
		this.TNum = TNum;
		this.TTime = TTime;
		this.TStatus = TStatus;
		this.TSendtime = TSendtime;
		this.cashPhone = cashPhone;
		this.cashWhere = cashWhere;
	}

	public TycoinAccountCash(Integer userId, String type, String logno, int status, String account, String bank,
			int bankId, String branch, String province, String city, String town, BigDecimal money,
			BigDecimal realMoney, BigDecimal fee, String isdaifu, Integer TNum, int TTime, byte TStatus, int TSendtime,
			String cashPhone, int cashWhere, Integer verifyUserid, Integer verifyTime, String verifyRemark,
			Long addtime, String addip, String daifuMsg, BigDecimal apiFee) {
		this.userId = userId;
		this.type = type;
		this.logno = logno;
		this.status = status;
		this.account = account;
		this.bank = bank;
		this.bankId = bankId;
		this.branch = branch;
		this.money = money;
		this.realMoney = realMoney;
		this.fee = fee;
		this.isdaifu = isdaifu;
		this.TNum = TNum;
		this.TTime = TTime;
		this.TStatus = TStatus;
		this.TSendtime = TSendtime;
		this.cashPhone = cashPhone;
		this.cashWhere = cashWhere;
		this.verifyUserid = verifyUserid;
		this.verifyTime = verifyTime;
		this.verifyRemark = verifyRemark;
		this.addtime = addtime;
		this.addip = addip;
		this.daifuMsg = daifuMsg;
		this.apiFee = apiFee;
	}

}
